package com.guigu.pd.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 车次与车辆和司机关联表
 * 
 * @author deyran
 * @email deyran@gmail.com
 * @date 2022-07-19 19:09:01
 */
@Data
@TableName("pd_transport_trips_truck_driver")
@AllArgsConstructor
@NoArgsConstructor
public class TransportTripsTruckDriverEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private String id;
	/**
	 * 车辆id
	 */
	private String truckId;

	@TableField(exist = false)
	private String truckname;

	/**
	 * 车辆车牌号码
	 */
	@TableField(exist=false)
	private String truckLicensePlate;

	/**
	 * 车次id
	 */
	private String transportTripsId;

	/**
	 * 司机id
	 */
	private String userId;

	@TableField(exist = false)
	private List<String> username;

	@TableField(exist = false)
	private String user;

	@TableField(exist = false)
	private List<String> truckslist;

}
